<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<script type="text/javascript" src="./build/react.js"></script>
	<script type="text/javascript" src="./build/react-dom.js"></script>
	<script type="text/javascript" src="./build/browser.min.js"></script>
	<title>React Base Syntax</title>
</head>
<body>
	<div id="example"></div>
	<script type="text/babel">
		var HelloMessage=React.createClass(
			{
				render:function(){
					return <h1>Hello {this.props.name}! I am Enli</h1>;
				}
			}
		);
		ReactDOM.render(<HelloMessage name="React 语法基础"/>, document.getElementById('example'));
	</script>
</body>
</html>